<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>组添加</title>
		<meta http-equiv="X-UA-Compatible" content='IE=edge' />
		<link rel="stylesheet" type="text/css" href="/fw/css/bootStrap/bootstrap.min.css">
    	<link rel="stylesheet" type="text/css" href="/fw/css/common.css">
		<link rel='stylesheet' type="text/css" href='/fw/js/jquery/plugins/uploadify/uploadify.css' />
		<link rel="stylesheet" type="text/css" href="css/addGroup.css">
		<script type="text/javascript" src="/fw/js/jquery/jquery.js"></script>
		<script type="text/javascript" src="/fw/js/bootStrap/bootstrap.min.js"></script>
		<script type="text/javascript" src="/fw/js/myjs/jvalidator.js"></script>
		<script type="text/javascript" src="/fw/js/myjs/form.validator.js"></script>
		<script type="text/javascript" src='/fw/js/jquery/plugins/uploadify/jquery.uploadify.min.js'></script>
		<script type="text/javascript" src="js/addGroup.js"></script>
		<script type="text/javascript" src="/fw/js/myjs/bootstrap-savehandle.js"></script>
	</head>
	<body>
		<div id="groupAdd">
			<div><%@ include file="../manage/heading.jsp"%></div>
			<s:action name="groupmenu" executeResult="true" namespace="/groupmenu"></s:action>
			<div class="content">
				<div class="header">
		 		<ol class="breadcrumb">
				  <li class="glyphicon glyphicon-menu-right"><a href="#"><span aria-hidden="true" style="font-size: 20px;">&raquo;</span></a></li>
				  <li><a href="/fw/pages/security/groupList.jsp">组列表</a></li>
				  <li class="active">添加组信息</li>
				</ol>
			</div>
				<form id="groupForm" class="form-horizontal clearfix"
					style="width: 100%" method="post" role="form">
					<div class="form-group left">
						<div class="item">
							<label class="title">组添加</label>
							<div>
								<div class="leftN">组名（GroupName）</div>
								<div class="rightV">
									<input type="text" validator="empty|maxlength(50)" class="form-control col-3p" id="groupName">
								</div>
								<div class="leftN">备注</div>
								<div class="rightV">
									<input type="text" validator="empty|maxlength(100)" maxlength='200' class="form-control col-3p" id="remarks">
								</div>
								<div class="leftN">登录后默认url</div>
								<div class="rightV">
									<input type="text" id="loginUrl" validator="empty|maxlength(100)" name="loginUrl" class="form-control col-3p"/>
								</div>
							</div>
						</div>
						<br />
						<div id='alertdiv'></div>
						<p class="">
							<button onclick="add()" type="button"  class="btn btn-primary">保&nbsp;存</button>
							&nbsp; &nbsp; &nbsp;
							<button  class="btn btn-default" type="button" onclick="successCallBack()">取&nbsp;消</button>
						</p>
						<div class="alert alert-danger " style='display: none'></div>
					</div>
				</form>
			</div>
		</div>
	</body>
</html>
